package com.explment.lens.controller.organization;

import com.explment.lens.entity.SysHrOrgApproverEntity;
import com.explment.lens.service.SysHrOrgApproverService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 组织机构审批人 controller
 */
@RestController
@RequestMapping("/sysHrOrgApproverEntity")
public class SysHrOrgApproverController {
    @Autowired
    private SysHrOrgApproverService sysHrOrgApproverEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysHrOrgApproverEntityService.getById(id));
    }
}